import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import router from './router';//路由
import store from '@/store/index';//vuex
import 'element-ui/lib/theme-chalk/index.css';
import 'reset-css'//清楚默认样式
import less from 'less'

//注册less
Vue.use(less)

//注册element-ui
Vue.use(ElementUI);

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App),
  beforeCreate() {
    Vue.prototype.$bus=this
  }
}).$mount('#app')
